import {defineConfig} from 'vite'

export default defineConfig({
    build: {
        outDir: 'dist',
        target: 'es2020',
        lib: {
            entry: './index.ts',
            formats: ['es', 'cjs']
        }
    }
})